import { useCookies } from "@vueuse/integrations/useCookies";

const cookie = useCookies();

const Token = "token";

// 设置cookie
export function setCookies(toTokenValue) {
  cookie.set(Token, toTokenValue);
}
// 读取cookie

export function getCookies() {
  return cookie.get(Token);
}
// 移出cookie
export function removeCookies() {
  cookie.remove(Token);
}
